/*
 * Created by SharpDevelop.
 * User: Michael
 * Date: 5/5/2007
 * Time: 3:14 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;
using System.Drawing;
using System.Windows.Forms;
using Microsoft.Win32;

namespace ICSharpCode.SharpDevelop.Gui
{
	/// <summary>
	/// Description of VDSAbout.
	/// </summary>
	public partial class VDSAbout : Form
	{
		public VDSAbout()
		{
			//
			// The InitializeComponent() call is required for Windows Forms designer support.
			//
			InitializeComponent();
			
			//
			// TODO: Add constructor code after the InitializeComponent() call.
			//
		}
		
		void Button1Click(object sender, EventArgs e)
		{
			using (CommonAboutDialog ad = new CommonAboutDialog()) {
				ad.Owner = WorkbenchSingleton.MainForm;
				ad.ShowDialog(WorkbenchSingleton.MainForm);
			}
		}
		
		void Button2Click(object sender, EventArgs e)
		{
			this.Close();
		}
		
		void VDSAboutLoad(object sender, EventArgs e)
		{
			label4.Text=Registry.GetValue("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Visual DSU Global Systems\\VisualDeveloperStudio\\3.0\\Registration","RegisteredName","Unregistard") + "\n" + Registry.GetValue("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Visual DSU Global Systems\\VisualDeveloperStudio\\3.0\\Registration","RegisteredOrginization","Unregistard");
		}
	}
}
